#ifndef __EVENTRUNNER_H
#define __EVENTRUNNER_H
typedef enum 
{
    EVENTNORMAL = 0,
    EVENTBROKER,
    EVENTUNUSEED=0xFFFF,
}EventRunnerType;
struct EventRunnerId
{
    MQueueId queueId;
    THreadId threadId;
    EventRunnerType eventRunnerType;
    
    void (*handle)(void *args);

};
/// @brief 创建runner handler
EventRunnerId EventThreadCreate(EventRunnerType eventRunnerType);
/// @brief handler runner 实体
void EventRun();
/// @brief broker实体
void EventBroker();
#endif